package com.movie.util;

import java.math.BigDecimal;
import java.util.List;

public class OrderRequest {
    private Integer screeningId;
    private List<SeatInfo> seats;
    private BigDecimal totalAmount;
    // getter和setter

    public Integer getScreeningId() {
        return screeningId;
    }

    public void setScreeningId(Integer screeningId) {
        this.screeningId = screeningId;
    }

    public List<SeatInfo> getSeats() {
        return seats;
    }

    public void setSeats(List<SeatInfo> seats) {
        this.seats = seats;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    @Override
    public String toString() {
        return "OrderRequest{" +
                "screeningId=" + screeningId +
                ", seats=" + seats +
                ", totalAmount=" + totalAmount +
                '}';
    }
}

